package hibernate.method.interfaces;

import hibernate.model.Hire;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

public interface HireMethodsInterface {
	
	/*generuje wypozyczenie */
	public void hire(SessionFactory sessionFactory, Session session, int local_id, int game_id, int user_id, String start_date, String start_time, String end_date, String end_time);
	
	/*anuluje wypozyczenie */
	public void cancel (SessionFactory sessionFactory, Session session, Hire h);
	

}
